package com.fm.service;

/**
 * Created by Administrator on 2018/7/30 0030.
 */
import com.fm.entity.ProductFunction;
import com.fm.mapper.ProductFunctionMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductFunctionService extends MBaseService<ProductFunction, Integer, ProductFunctionMapper>{

    public List<ProductFunction> selectParamAndMetodByProductId(Integer productId){
        return getMyBatisDao().selectParamAndMetodByProductId(productId);
    }

    public Integer getTypeByNameAndProductId(String name, Integer productId) {
        return getMyBatisDao().getTypeByNameAndProductId(name, productId);
    }
}
